<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ include file="/jsp/common.jspf"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>管理员登陆</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<script type="text/javascript">
	function deleteError() {
		var error = document.getElementById("error");
		error.parentNode.removeChild(error);
	}
</script>

</head>

<body style="background: #083846">
	<div style="height: 150px "></div>
	<form
		action="${pageContext.request.contextPath }/adminAction_login.action"
		method="post">
		<table align="center">
			<tr align="center">
				<td colspan="3"><font color="#878787" size="6">管理员登陆</font>
				</td>
			</tr>
			<tr>
				<td colspan="3"><div style="height: 20px "></div></td>
			</tr>
			<tr>
				<td><font color="#878787">用户名</font>
				</td>
				<td><input type="text" name="name" class="required"
					onmousedown="deleteError()" /></td>
			</tr>
			<tr>
				<td colspan="3"><div style="height: 10px "></div></td>
			</tr>
			<tr>
				<td><font color="#878787">密码</font>
				</td>
				<td><input type="password" name="password" class="required"
					onmousedown="deleteError()" /></td>
			</tr>
			<c:if test="${requestScope.failMessage!=null }">
				<tr align="center" id="error">
					<td colspan="3"><div style="height: 14px ">
							<font color="red" size="3">${requestScope.failMessage}</font>
						</div>
					</td>
				</tr>
			</c:if>
			<tr>
				<td colspan="3"><div style="height: 14px "></div></td>
			</tr>
			<tr align="center">
				<td colspan="3"><input type="submit" value=""
					style="width:122px;height:36px;border:none;background:url(imgs/login_Button.png) no-repeat" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>
